package com.etc.youkeshoppingssm.entity;

import java.io.Serializable;

public class User implements Serializable {
    private int id;
    private String username;
    private String chUsername;
    private String password;
    private String tel;
    private String email;
    private String isMember;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", chUsername='" + chUsername + '\'' +
                ", password='" + password + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", isMember='" + isMember + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getChUsername() {
        return chUsername;
    }

    public void setChUsername(String chUsername) {
        this.chUsername = chUsername;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIsMember() {
        return isMember;
    }

    public void setIsMember(String isMember) {
        this.isMember = isMember;
    }

    public User(String username, String chUsername, String password, String tel, String email, String isMember) {
        this.username = username;
        this.chUsername = chUsername;
        this.password = password;
        this.tel = tel;
        this.email = email;
        this.isMember = isMember;
    }

    public User() {
    }
}
